package com.usefullc.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usefullc.system.domain.JobTemplate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JobTemplateMapper extends BaseMapper<JobTemplate> {

//useful_auto_generate_section_start


//useful_auto_generate_section_end

int updateStatus(@Param("id") Long id, @Param("status") Integer status);

int updateAllEnabled(@Param("ids") List<Long> ids, @Param("enabled") Integer enabled);

}
